package cn.itcast.zt.java8.model.single.model;

// 饿汉模式
public class Singleton3 {
    private static final Singleton3 instance = new Singleton3();

    private Singleton3() {

    }

    public static Singleton3 getInstance() {
        return instance;
    }
}
